package com.git.smp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.git.smp.entity.SmpUser;
import com.git.smp.entity.SmpUserExtend;

public interface SmpUserMapper {
    int deleteByPrimaryKey(String userName);

    int insert(SmpUser record);

    int insertSelective(SmpUser record);

    SmpUser selectByPrimaryKey(String userName);

    int updateByPrimaryKeySelective(SmpUser record);

    int updateByPrimaryKey(SmpUser record);

	List<SmpUserExtend> select(SmpUser smpUser);

	List<SmpUser> selectAll();

	List<SmpUser> selectByRoleId(@Param("roleId") String roleId);
}